<?php
namespace app\common\model;

class FruitFirstLog extends \think\Model {
	protected $table = 'farm_fruit_first_log';

	public function getTypeAttr($value) {
		$status = [
			1 => '充值果子',
			2 => '收获果子',
			3 => '采摘果子',
			5 => '兑换额度',
			6 => '抽奖'
		];

		return $status[$value];
	}
}
?>